#
#  Be sure to run `pod spec lint BLAPIManagers.podspec' to ensure this is a
#  valid spec and to remove all comments including this before submitting the spec.
#
#  To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
#  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

Pod::Spec.new do |s|
  s.name         = "FlexLayout"
  s.version      = "0.0.1"
  s.summary      = "FlexLayout."

  # This description is used to generate tags and improve search results.
  #   * Think: What does it do? Why did you write it? What is the focus?
  #   * Try to keep it short, snappy and to the point.
  #   * Write the description between the DESC delimiters below.
  #   * Finally, don't worry about the indent, CocoaPods strips it!
  s.description  = <<-DESC
                    this is FlexLayout
                   DESC

  s.homepage     = "http://git.missfresh.cn/mryt-ios-repo/flexlayout"
  # s.screenshots  = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"

  s.license      = { :type => "MIT", :file => "FILE_LICENSE" }
  s.author             = { "GaoLin Shang" => "shanggl@missfresh.cn" }

  s.platform     = :ios, "8.0"
  s.ios.deployment_target = "8.0"
  s.source       = { :git => "http://git.missfresh.cn/mryt-ios-repo/flexlayout.git", :tag => s.version.to_s }
  s.source_files  = "FlexLayout/FlexLayout/**/*.{swift,h,m,mm,cpp,c}"
  s.libraries    = 'c++'
  s.requires_arc = true

  s.dependency 'GMYogaKit', '~> 0.1.2'

  # Should match yoga_defs.bzl + BUCK configuration
  s.compiler_flags = [
    '-fno-omit-frame-pointer',
    '-fexceptions',
    '-Wall',
    '-Werror',
    '-fPIC'
  ]

end


